package edu.xpu.cs.hub;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@MapperScan("edu.xpu.cs.hub.mapper")
@SpringBootApplication
@EnableSwagger2
public class PrivateKnimehubApplication extends SpringBootServletInitializer {

    public static void main(String[] args) {
        SpringApplication.run(PrivateKnimehubApplication.class, args);
    }
}
